export type debounceFunction = (func: Function, wait?: number) => void

type suffixType = 'svg' | 'png' | 'jpg' | 'gif' | 'webp' | 'jpeg'

export type getImageUrlFunction = (name: string, type?: suffixType) => string

export type conversionPixelSizeFunction = (size: number) => string

export interface formatTimeRemainingType {
  seconds: number
  minutes: number
  hours: number
  days: number
}

export type formatTimeRemainingFunction = (timestamp: number) => formatTimeRemainingType
